# Utility macros for libraries

macro(LibName basename static)
  if(static)
    set(${basename}_LIBRARIES "${CMAKE_STATIC_LIBRARY_PREFIX}${basename}${CMAKE_STATIC_LIBRARY_SUFFIX}")
    message("hi")
  else()
    set(${basename}_LIBRARIES ${${basename}_LIBRARIES} "${CMAKE_SHARED_LIBRARY_PREFIX}${basename}${CMAKE_SHARED_LIBRARY_SUFFIX}")
  endif()
endmacro()
